from flask import Flask, render_template
from werkzeug.serving import run_simple

app = Flask(__name__)

@app.route("/hello/")
@app.route("/hello/<name>")
def hello(name=None):
    return render_template("hello.html", name=name)
if __name__ == "__main__":
    run_simple("localhost", 4040, app, use_reloader=True, use_debugger=True, use_evalex=True)

    
    